﻿@model ShenLanCMS.Models.Ad

@{
    ViewBag.Title = "广告详细";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
 

<fieldset>
    <legend>广告详细</legend>

    <div class="display-label">广告类型</div>
    <div class="display-field">
        @Model.GetAdType().TypeName
    </div>

    <div class="display-label">内容</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>

    <div class="display-label">开始时间</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StartTime)
    </div>

    <div class="display-label">结束时间</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndTime)
    </div>

    <div class="display-label">宽</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Width)
    </div>

    <div class="display-label">高</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Height)
    </div>

    <div class="display-label">是否启用</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsEnable)
    </div>
</fieldset>
<p>
    @Html.ActionLink("编辑", "Edit", new { id=Model.AdID }) |
    @Html.ActionLink("返回广告列表", "Index")
</p>
